from selenium import webdriver
from selenium.webdriver.common.by import By

# 打开Chrime浏览器, 使用driver保存浏览器对象
driver = webdriver.Chrome()
driver.get('http://www.baidu.com')